import request from '@/utils/request'

// 工单列表
export function getWorkLists(query) {
    return request({
        url: '/agency/api.Disabled/getWorkLists',
        method: 'post',
        params: query
    })
}
// 添加/修改工单
export function setWork(query) {
    return request({
        url: '/agency/api.Disabled/setWork',
        method: 'post',
        params: query
    })
}
// 工单启用/禁用
export function setWorkStatus(query) {
    return request({
        url: '/agency/api.Disabled/setWorkStatus',
        method: 'post',
        params: query
    })
}
// 工单删除
export function delWork(query) {
    return request({
        url: '/agency/api.Disabled/delWork',
        method: 'post',
        params: query
    })
}
// 残疾人列表全部（不分页）
export function getDisListsAll(query) {
    return request({
        url: '/agency/api.Disabled/getDisListsAll',
        method: 'post',
        params: query
    })
}
// 服务列表全部（不分页）
export function getServiceListsAll(query) {
    return request({
        url: '/agency/api.Disabled/getServiceListsAll',
        method: 'post',
        params: query
    })
}
// 工单详情
export function getWork(query) {
    return request({
        url: '/agency/api.Disabled/getWork',
        method: 'post',
        params: query
    })
}